const jwt = require('jsonwebtoken');
const jwtSecret = 'kree'

let token = jwt.sign({test:110}, jwtSecret)
console.log(token)

let payload = jwt.decode(token, jwtSecret);
console.log(payload);